Add a test for bin child conversion
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 May 2020 22:06:57 +0000 (18:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 May 2020 02:53:08 +0000 (22:53 -0400)
testsuite/tools/simplify-data-3to4/bin.expected [new file with mode: 0644]
testsuite/tools/simplify-data-3to4/bin.ui [new file with mode: 0644]

diff --git a/testsuite/tools/simplify-data-3to4/bin.expected b/testsuite/tools/simplify-data-3to4/bin.expected
new file mode 100644 (file)
index 0000000..52b3f1c
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <object class="GtkFrame">
+    <property name="visible">0</property>
+    <property name="label">bla</property>
+    <child>
+      <object class="GtkGestureClick"/>
+    </child>
+    <property name="child">
+      <object class="GtkButton">
+        <property name="visible">0</property>
+      </object>
+    </property>
+  </object>
+</interface>
diff --git a/testsuite/tools/simplify-data-3to4/bin.ui b/testsuite/tools/simplify-data-3to4/bin.ui
new file mode 100644 (file)
index 0000000..59aa761
--- /dev/null
@@ -0,0 +1,13 @@
+<interface>
+  <object class="GtkFrame">
+    <property name="label">bla</property>
+    <child>
+      <object class="GtkGestureClick">
+      </object>
+    </child>
+    <child>
+      <object class="GtkButton">
+      </object>
+    </child>
+  </object>
+</interface>